package cn.bs.accommodate.caseVO;

/**
 * Created by ROC on 2014-10-16.
 */
public class Cat {
    static{
        System.out.println("call Cat.静态块");
    }
    public Cat(){
        System.out.println("call Cat.无参构调方法");
    }
    private String name;
    public Cat(String name){
        this.name = name;
    }

    public void action(){
        System.out.println(this.name + " ----------action--------------");
    }
}
